package com.fast.fastenjoy.components.common.manager;

import java.util.List;

import org.springframework.stereotype.Service;

import com.fast.fastenjoy.base.manager.CacheEntityManager;
import com.fast.fastenjoy.components.common.domain.MapPosition;

/**
 * 地图位置处理类
 * @author chenliaohua
 *
 */
@Service
public class MapPositionManager extends CacheEntityManager<MapPosition>{

	private static final String CACHE_KEY = "MapPosition_CACHE";
	
	@Override
	public void refCache() {
		
		List<MapPosition> allMapPositionList = getAll();
		
		cache(CACHE_KEY, allMapPositionList);
	}
	
}
